import { list, add, del, update } from '../../controller/tag/tag'
export default async router => {
  router.post('/tag/list', list)
  router.post('/tag/add', add)
  router.patch('/tag/update/:id', update)
  router.get('/tag/del', del)
}
